Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build RL9.3 container images with systemd in CI #166

Merged
merged 2 commits into from
Mar 20, 2024
Merged

Build RL9.3 container images with systemd in CI #166

merged 2 commits into from
Mar 20, 2024

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Mar 19, 2024

Upstream rockylinux:9.3 images don't contain systemd, which means running /sbin/init for molecule fails.

Previously the workaround was to use "/bin/bash -c 'dnf -y install systemd && /sbin/init'" as the container command but this was very flaky. Instead CI now builds an image containing systemd using the upstream rockylinux:9.3 image. This ensures that the image used for the molecule workflow is always updated.

@sjpb sjpb requested a review from a team as a code owner March 19, 2024 16:53
@sjpb sjpb changed the title Build RL9.3 container images with systemd Build RL9.3 container images with systemd in CI Mar 19, 2024
Copy link

@sd109 sd109 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sjpb sjpb merged commit 4ca4811 into master Mar 20, 2024
34 checks passed
@sjpb sjpb deleted the ci/fix-RL9 branch March 20, 2024 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants